package com.singleton;

//恶汉单例
public class Singleton {
    private Integer i;

    private Singleton() {
        super();
    }

    private static Singleton singleton = new Singleton();

    public static Singleton getInstance() {
        return singleton;
    }
}
